package com.lyc.comment02;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/10/26 17:19
 * @description：
 * @modified By：
 * @version:
 */
@SuppressWarnings("all")
public class Text01 {
    public static void main(String[] args) {
        int a=50;
        int b=60;
        Dog dog = new Dog();
        dog.show();
    }
}

class Dog{
    @Override
    public String toString(){
        return super.toString();
    }
    @Deprecated
    public void show(){
        System.out.println("这个狗老了");
    }
}
@FunctionalInterface
interface Cat{
    public void cat();
}